package io.renren.service;

import io.renren.entity.GradeSubject;
import io.renren.entity.dto.GradeSubjectDto;
import io.renren.entity.vo.GradeSubject4Web;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author Wayne Wang
 * @email dujc1018@gmail.com
 * @date 2018-08-14 11:09:23
 */
public interface GradeSubjectService {

    GradeSubject queryObject(Long id);

    List<GradeSubject> queryList(Map<String, Object> map);

    List<GradeSubject4Web> queryList4web();

    List<GradeSubjectDto> querySubjectList(Long gradeId);


    int queryTotal(Map<String, Object> map);

    void save(GradeSubject gradeSubject);

    void update(GradeSubject gradeSubject);

    void delete(Long id);

    void deleteBatch(Long[] ids);
}
